import vue from '@vitejs/plugin-vue';
import Components from 'unplugin-vue-components/vite';
import {VantResolver} from 'unplugin-vue-components/resolvers';

export default {
    resolve: {
        extensions: [".js", ".jsx", ".ejs", '.mjs'], // 之前忽略了 .mjs

    },
    plugins: [
        vue(),
        Components({
            resolvers: [VantResolver()],
        }),



    ],
};
